package com.company.example.model.pojo;

import java.util.Date;

import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @package   com.company.example.model.pojo
 * @file Account.java
 * @author   yanwl
 * @date 2016年9月29日
 * @version V 1.0
 */
@Document
public class Account {
	private String id;
	private String name;
	private Integer age;
	private Date createTime;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	@Override
	public String toString() {
		return this.id+"--"+this.name+"--"+this.age+"--"+this.createTime;
	}
}
